package com.example.carrierapp.ui.main.dispatch.search

import com.example.carrierapp.base.BaseView
import com.example.carrierapp.bean.dispatch.SearchDriverBean
import com.example.carrierapp.viewmodel.itemmodel.ItemSearchModel

interface DispatchSearchContract {
    interface Presenter {

        fun getDriverList(filter: String)

        fun getCarNumList(filter: String)
    }

    interface View : BaseView {

        fun onSearchSucess(bean: MutableList<ItemSearchModel>)

        fun onSearchError(msg: String)

    }
}
